package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.sat.pojo.SatTestDriveRouteListVO;
import com.yunxi.sat.pojo.SatTestDriveRouteVO;

import java.util.ArrayList;
import java.util.List;

public class SatTestDriveRouteDubboServiceMock implements SatTestDriveRouteDubboService {
    @Override
    public SatTestDriveRouteVO getById(String id) throws Exception {
        return null;
    }

    @Override
    public void saveOrUpdate(SatTestDriveRouteVO satTestDriveRouteVO) throws Exception {

    }

    @Override
    public void removeById(String id) {

    }

    @Override
    public PageInfo<SatTestDriveRouteVO> findPageByVO(SatTestDriveRouteVO satTestDriveRouteVO, Integer pageNum, Integer pageSize) throws Exception {
        PageInfo<SatTestDriveRouteVO> pageInfo = new PageInfo<SatTestDriveRouteVO>();
        List list = new ArrayList();
        SatTestDriveRouteVO vo = new SatTestDriveRouteVO();
        vo.setRouteName("暂无数据");
        list.add(vo);
        pageInfo.setList(list);
        return pageInfo;
    }

    @Override
    public void removeByListVo(List<SatTestDriveRouteVO> satTestDriveRouteVOList) throws Exception {

    }

    @Override
    public List listByVo(SatTestDriveRouteVO satTestDriveRouteVO) {
        List list = new ArrayList();
        SatTestDriveRouteVO vo = new SatTestDriveRouteVO();
        vo.setRouteName("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public List<SatTestDriveRouteListVO> listByCode(String partnerCode) {
        List list = new ArrayList();
        SatTestDriveRouteListVO vo = new SatTestDriveRouteListVO();
        vo.setRouteName("暂无数据");
        list.add(vo);
        return list;
    }

    @Override
    public void removeRoute(List<String> list, String updateBy) throws Exception {

    }
}
